<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title> 教师列表 </title>
<title>班级得分</title>
<link rel="stylesheet" type="text/css" href="{*$smarty.const.PUBLIC_DIR*}css/init.css"/>
<script type="text/javascript" src="{*$smarty.const.PUBLIC_DIR*}javascript/init.js"></script>
<script type="text/javascript" src="{*$smarty.const.PUBLIC_DIR*}javascript/jquery.js"></script>
<script type="text/javascript" src="{*$smarty.const.PUBLIC_DIR*}javascript/functions.js"></script>
<script type="text/javascript" src="{*$smarty.const.PUBLIC_DIR*}javascript/api.js"></script>
</head>
<body>
<h3>教师列表</h3>
功能简化,修改一个,点击后面的保存,不点击不生效<br />
修改|添加完毕后刷新页面查看效果!
<hr />
<table class="center">
	<tr>
		<th>班级</th>
		<th>科目</th>
		<th>姓名</th>
		<th>得分</th>
		<th>金额</th>
		<th>描述</th>
		<th>设置</th>
	</tr>
	{*foreach $jiaoshiliebiao as $jiaoshi*}
	{*$banji=$jiaoshi['banji']*}
	<tr>
		<td><input type="text" id="banji_{*$jiaoshi['id']*}" value="{*$jiaoshi['banji']*}" /></td>
		<td><input type="text" id="kemu_{*$jiaoshi['id']*}" value="{*$jiaoshi['kemu']*}" /></td>
		<td><input type="text" id="xingming_{*$jiaoshi['id']*}" value="{*$jiaoshi['xingming']*}" /></td>
		<td>{*$jiaoshi['defen']*}</td>
		<td>{*$jiaoshi['jine']*}</td>
		<td><input type="text" id="miaoshu_{*$jiaoshi['id']*}" value="{*$jiaoshi['miaoshu']*}" /></td>
		<td><a href="javascript:jiaoshi('{*$jiaoshi['id']*}');">保存</a>|<a href="javascript:shanchu_jiaoshi({*$jiaoshi['id']*})">删除</a></td>
	</tr>
	{*/foreach*}
	<tr>
		<td><input type="text" id="tianjia_banji" value="" /></td>
		<td><input type="text" id="tianjia_kemu" value="" /></td>
		<td><input type="text" id="tianjia_xingming" value="" /></td>
		<td>不准填写</td>
		<td>不准填写</td>
		<td><input type="text" id="tianjia_miaoshu" value="" /></td>
		<td><a href="javascript:tianjia_jiaoshi();">添加</a></td>
	</tr>
</table>
</body>
</html>
